package gwt.trading.client;

import gwt.trading.client.geometry.Point;
import gwt.trading.client.util.ColorEnum;

/**
 * @author Iulian Costan (iulian.costan@gmail.com)
 *
 */
public class Line extends ColoredObject {

	private Point start;
	private Point end;
	
	public Line(Point start, Point end, ColorEnum color) {
		super(color);
		
		this.start = start;
		this.end = end;
	}

	public Point getEnd() {
		return end;
	}

	public Point getStart() {
		return start;
	}
	
}
